//
//  PlayerViewController.h
//  HeartFM
//
//  Created by qianfeng on 15/11/3.
//  Copyright (c) 2015年 Lishukang. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "AppDelegate.h"

@interface PlayerViewController : UIViewController

@property (nonatomic,strong) AudioPlayer *audioPlayer;
@property (nonatomic,copy) NSString *currentMp3Url;
@property (nonatomic,copy) NSString *currentImageUrl;

@property (nonatomic,assign) BOOL isPlaying;

@property (nonatomic,strong) UIImageView *stateImageView;

@property (nonatomic,strong) UIImageView *mainImageView;
@property (nonatomic,strong) UIImageView *bottomBackImageView;
@property (nonatomic,strong) UILabel *titleLabel;
@property (nonatomic,strong) UILabel *viewNumLabel;
@property (nonatomic,strong) UILabel *timeLabel;
@property (nonatomic,strong) NSTimer *timer;
@property (nonatomic,strong) UIImageView *avaImageView;
@property (nonatomic,strong) UILabel *speakNickNameLabel;

@property (nonatomic,copy) NSString *mainImageUrl;
@property (nonatomic,copy) NSString *topicTitle;
@property (nonatomic,copy) NSString *viewNum;
@property (nonatomic,copy) NSString *avaImageUrl;
@property (nonatomic,copy) NSString *speakNickName;

@property (nonatomic,strong) UIButton *playButton;
@property (nonatomic,strong) UIButton *preButton;
@property (nonatomic,strong) UIButton *nextButton;
@property (nonatomic,strong) UISlider *slider;

+ (PlayerViewController *)sharePlayer;

- (void)playWithUrl:(NSString *)Mp3url;


@end
